/* 
 *Propriété de la page
 */

html, body, #menu, #contenu_canvas {
    margin: 0;
    padding: 0;
    height: 100%;
    /*overflow:hidden;*/
}

/* 
 * Menu
 */

#title{
	padding-top: 3%;
	text-align:center;
}

#menu {
	position: relative;
	width: 100%;
	height: 15%;
}

#btnParametre {
	display: inline;
	height: 100%;
	width: 15%;
	float: left;
}

#btnParametre .bouton {
	width: 50%;
}

#btnDessin {
	display: inline;
	height: 100%;
	float: right;
}

#btnDessin .bouton {
	width: 45%;
}

#dessins {
	float: right;
}

.bouton {
	max-width:90%;
    height:auto;
    position: relative;
    display:inline-block;
    margin:0 auto;
}

.bouton img {
	max-width: 100%;
	height: auto;
}

#btnDessin{
	float: right;
}

#btnDessin li {
	display: inline;
}

/* 
 * partition
 */

#contenu_canvas{
	float : left;
    width: 100%;
/*   -moz-transition-property: left, top, background, -moz-transform;
   -moz-transition-duration: 1s;*/
}
#partitions{
	width: 90%;
	margin:0px;
	padding: 0px;
	float:left;
	height:95%;

}
#btnGauche{
	width: 5%;
	margin:0px;
	height:95%;
	float:left;
}
#btnDroite{
	width: 5%;
	margin:0px;
	height:95%;
	float:left;
}
#page{
	height: 5%;	
	display:block;
	text-align:center;
	vertical-align:middle;
	float:none;
}
#imgPrecedent , #imgSuivante{
	position: absolute;
	top:45%;
	width: 5%;
}
/*
 * dialog
 */

.ui-dialog-titlebar { 
	color:white;
	background-image: linear-gradient( #515151 0%, #000000 50%);
}
.ui-dialog-titlebar-close{
	background-color: white;
}
.ui-dialog .ui-dialog-buttonpane { 
		display:block;
	text-align:center;
	vertical-align:middle;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { 
	float: none; 
}
.ui-dialog .ui-dialog-buttonpane button { 
	color:white; 
	cursor: pointer; 
	background-image: linear-gradient( #515151 0%, #000000 50%);
}
#dialogInstrument, #dialogParametre{
	display:none;
}
#dialogInstrument{
	min-width:600px;
}
#listeInstrument{
	 margin-left: auto;
	 margin-right: auto;
	 vertical-align: middle; 
}
.instrument, .gomme{
	min-height:50px;
	min-width:100px;
	background-image: linear-gradient( #515151 0%, #000000 50%);
	margin:10px;
	margin-left: 20px;
	margin-right: 20px;
	float:left;
	text-align: center;
	border-radius : 10px;
	box-shadow: 5px 5px 5px #000;
}
.instrument:hover{
	background-image: linear-gradient( #A2B5BF 0%, #5F8CA3 50%);
	color:black;
	cursor:pointer;
}
.instrument:active{
	background-image: linear-gradient( #A2B5BF 0%, #5F8CA3 50%);
	color:black;
	border: 5px double white; 
	margin:5px;
	margin-left: 15px;
	margin-right: 15px;
}
.instrument p{
	color :white;
	margin-left: 10px;
	margin-right: 10px;
}

/*
 * dialog parametre
 */
#dialogParametre{
	margin-left: auto;
	margin-right: auto;
	vertical-align: middle;
	width: 40%;
}
#Taille , #Couleur, #Gomme{
	margin-left: auto;
	margin-right: auto;
	vertical-align: middle; 
	width:48%;
}
#ChoixParametre h1{
	font-size:medium;
}
#Taille, #Gomme, #Couleur {
	float:left;
}
.couleur{
	display: inline;
	height:3em;
	width:3em;
	margin:2em;
	float:left;
	text-align: center;
	border: 2px solid black; 
	border-radius: 10px;
	box-shadow: 5px 5px 5px #000;	
}
.gomme{
	width:auto;
	height:auto;
}
.taille {
	height:3em;
	width:40%;
	margin:10px;
	border-radius : 10px;
	box-shadow: 5px 5px 5px #000;
	background-color: white;	
}
.taille div{
	width:80%;
	background-color: black;
	position: relative;
	margin: auto;

}
#T_min{height:1px;	top:1em;}
#T_medium{height:6px; top:1em;}
#T_large{height:8px; top:1em;}
#couleur1{background-color: #00349a;}
#couleur2{background-color: #025aa2;}
#couleur3{background-color: #669acc;}
#couleur4{background-color: #80001b;}
#couleur5{background-color: #fdbe01;}
#couleur6{background-color: #949494;}

/*
 * message d'information
 */
.message_info{
	position: absolute;
	top:45%;
	left:30%;
	width: 40%;
	display:block;
	text-align:center;
	vertical-align:middle;
	background-image: linear-gradient( #515151 0%, #000000 50%);
	border-radius : 10px;
	box-shadow: 5px 5px 5px #000;
	
}
.message_info p{
	color :white;
}
#erreurServeur{
	visibility: hidden;
}